package com.ak.server.platform.service;

import com.ak.common.entity.QueryRequest;
import com.ak.common.entity.system.Datasource;
import com.ak.common.entity.system.DatasourceApplication;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 数据源业务
 *
 * @author Vean
 */
public interface IDatasourceApplicationService extends IService<DatasourceApplication> {

    /**
     * 添加数据源与子系统关联
     *
     * @param datasourceCode
     * @param appCodes
     * @return
     */
    boolean authApplication(String datasourceCode, String appCodes);
}
